<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Periods_table_row</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Periods_table_row</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">author:</span> Andrej Jursa</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">copyright:</span> FMFI Comenius University in Bratislava 2012</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_table_models---Periods_table_row.php.html">/table_models/Periods_table_row.php</a> (line <span class="field"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a6">6</a></span>)
		</p>
		
				
		<pre><a href="../Abstract/Core/Abstract_table_core.html">Abstract_table_core</a>
   |
   --<a href="../Abstract/Core/Abstract_table_row.html">Abstract_table_row</a>
      |
      --Periods_table_row</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																<div class="var-title">
					<span class="var-type"><a href="../Abstract/Core/Abstract_table_relation.html">Abstract_table_relation</a></span>
					<a href="#$inventions" title="details" class="var-name">$inventions</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Abstract/Core/Abstract_table_relation.html">Abstract_table_relation</a></span>
					<a href="#$physicists" title="details" class="var-name">$physicists</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																												
												<div class="method-definition">
											<span class="method-result">array<mixed></span>
										<a href="#getDataForEditor" title="details" class="method-name">getDataForEditor</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array<Abstract_table_row></span>
										<a href="#getInventions" title="details" class="method-name">getInventions</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$only_displayed</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$orderBy</span> = <span class="var-default">'name'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array<Abstract_table_row></span>
										<a href="#getPhysicists" title="details" class="method-name">getPhysicists</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$only_displayed</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$orderBy</span> = <span class="var-default">'name'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#onDelete" title="details" class="method-name">onDelete</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#prepareEditorSave" title="details" class="method-name">prepareEditorSave</a>
											(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">$formdata</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#resetRelations" title="details" class="method-name">resetRelations</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$inventions" id="$inventions"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Abstract/Core/Abstract_table_relation.html">Abstract_table_relation</a></span>
			<span class="var-name">$inventions</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a16">16</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> relation to inventions.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$physicists" id="$physicists"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Abstract/Core/Abstract_table_relation.html">Abstract_table_relation</a></span>
			<span class="var-name">$physicists</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a11">11</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> relation to physicists.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Abstract/Core/Abstract_table_row.html">Abstract_table_row</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_table_row.html#var$data">Abstract_table_row::$data</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_table_row.html#var$original_data">Abstract_table_row::$original_data</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_table_row.html#var$primary_field">Abstract_table_row::$primary_field</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_table_row.html#var$table_name">Abstract_table_row::$table_name</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodgetDataForEditor" id="getDataForEditor"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getDataForEditor</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a71">71</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns data for editor.</p>
	<ul class="tags">
				<li><span class="field">return:</span> data from this row.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<mixed></span>
		<span class="method-name">
			getDataForEditor
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_table_row.html#methodgetDataForEditor">Abstract_table_row::getDataForEditor()</a></dt>
						<dd>Returns all available data data to editor.</dd>
					</dl>
			
	</div>
<a name="methodgetInventions" id="getInventions"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getInventions</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a57">57</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns all related inventions.</p>
	<ul class="tags">
				<li><span class="field">return:</span> list of inventions.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<Abstract_table_row></span>
		<span class="method-name">
			getInventions
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$only_displayed</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$orderBy</span> = <span class="var-default">'name'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$only_displayed</span><span class="var-description">: if set to TRUE, returns only displayed inventions.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$orderBy</span><span class="var-description">: sorting setting for list of related inventions.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPhysicists" id="getPhysicists"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPhysicists</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a41">41</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns all related physicists.</p>
	<ul class="tags">
				<li><span class="field">return:</span> list of physicists.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<Abstract_table_row></span>
		<span class="method-name">
			getPhysicists
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$only_displayed</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$orderBy</span> = <span class="var-default">'name'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$only_displayed</span><span class="var-description">: if set to TRUE, returns only displayed physicists.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$orderBy</span><span class="var-description">: sorting setting for list of related physicists.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a21">21</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialisation of relations.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_table_row.html#methodinit">Abstract_table_row::init()</a></dt>
						<dd>Function which can initialize relations.</dd>
					</dl>
			
	</div>
<a name="methodonDelete" id="onDelete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">onDelete</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a115">115</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Delete image when deleting this record.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			onDelete
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_table_row.html#methodonDelete">Abstract_table_row::onDelete()</a></dt>
						<dd>Simple function called after delete of this table row record.</dd>
					</dl>
			
	</div>
<a name="methodprepareEditorSave" id="prepareEditorSave"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">prepareEditorSave</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a93">93</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set data for this row from editor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			prepareEditorSave
		</span>
					(<span class="var-type">array<mixed></span>&nbsp;<span class="var-name">$formdata</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array<mixed></span>
				<span class="var-name">$formdata</span><span class="var-description">: data.</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_table_row.html#methodprepareEditorSave">Abstract_table_row::prepareEditorSave()</a></dt>
						<dd>Sets the date to be saved after editing in editor.</dd>
					</dl>
			
	</div>
<a name="methodresetRelations" id="resetRelations"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">resetRelations</span> (line <span class="line-number"><a href="../__filesource/fsource_TableModels__table_modelsPeriods_table_row.php.html#a29">29</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Reset of relations</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			resetRelations
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_table_row.html#methodresetRelations">Abstract_table_row::resetRelations()</a></dt>
						<dd>Function which can reset relations data.</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Abstract/Core/Abstract_table_row.html">Abstract_table_row</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#method__construct">Abstract_table_row::__construct()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methoddata">Abstract_table_row::data()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methoddelete">Abstract_table_row::delete()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methoddetermineTableColumns">Abstract_table_row::determineTableColumns()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methoddetermineTableName">Abstract_table_row::determineTableName()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodgetDataForEditor">Abstract_table_row::getDataForEditor()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodgetId">Abstract_table_row::getId()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodgetTableName">Abstract_table_row::getTableName()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodinit">Abstract_table_row::init()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodload">Abstract_table_row::load()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodloadBy">Abstract_table_row::loadBy()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodonDelete">Abstract_table_row::onDelete()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodprepareEditorSave">Abstract_table_row::prepareEditorSave()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodresetRelations">Abstract_table_row::resetRelations()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodsave">Abstract_table_row::save()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#methodsetId">Abstract_table_row::setId()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#method_getKnownFields">Abstract_table_row::_getKnownFields()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#method_setKnownFields">Abstract_table_row::_setKnownFields()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_row.html#method__call">Abstract_table_row::__call()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Abstract/Core/Abstract_table_core.html">Abstract_table_core</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_core.html#methodisCalledFrom">Abstract_table_core::isCalledFrom()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_core.html#methodisInsideTemplate">Abstract_table_core::isInsideTemplate()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_table_core.html#method__get">Abstract_table_core::__get()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 15 Jan 2013 16:54:07 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>